package com.yellow.orderservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 收件表
 * @author: hy
 * @create: 2024-02-08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Receiver {
    @TableId(type = IdType.AUTO,value = "receiver_id")
    private Long receiverId;
    @TableField(value = "name")
    private String name;
    @TableField(value = "phone_number")
    private String phoneNumber;
    @TableField(value = "province")
    private String province;
    @TableField(value = "address")
    private String address;
    @TableField(value = "company_name")
    private String companyName;
    @TableField(value = "delivery_method")
    private String deliveryMethod;
}
